package com.it.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.domain.BlogTagEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : code1997
 * @date : 2021/9/9 22:46
 */
@Mapper
public interface BlogTagMapper extends BaseMapper<BlogTagEntity> {


    @Select("select * from t_tag limit #{size}")
    List<BlogTagEntity> listTagTop(Integer size);
}
